<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
  <div>
    <p>测试页面11111</p>
  </div>
  <div>
      <p style="color: red" th:text="${msg}" th:if="${not #strings.isEmpty(msg)}"></p>
      <span th:text="${name}">111</span>
  </div>
  <!--th:insert id 选择器引入-->
  <div th:insert="commons::#fragment-id"></div>
</body>
</html>